package com.clearance.mine_clearance.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
@Data
@TableName("config")
public class Config {

    @TableId(type = IdType.AUTO)
    private Integer id;
    //倍数;
    private BigDecimal mulriple;
    //红包个数;
    private Integer redPacketSum;

    //照片URL
    private String url;

    //机器人token
    private String token;

    //群组ID
    private String groupChatId;

    //最大红包金额
    private BigDecimal maxRedPacket;

    //最小红包金额
    private BigDecimal minRedPacket;

    //抽成百分比;
    private BigDecimal commission;

    //返佣百分比
    private BigDecimal rebateCommission;

    private String botUrl;


    private String groupUrl;

    //是否开启自动抢;  0抢1不抢
    private Integer  isOpenAutoSnatch;

    //是否开启自动发  0发1不发
    private Integer  autoSend;
}
